From 7189bf265dea5499eb4e08faca3cf30f319429d4 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Tue, 30 Dec 2025 14:34:00 +0100 Subject: [PATCH] dnd: Drop seat state check Grabs are non-failable now, we do not need to check for the backend seat actually having been able to perform the request. Part-of: --- js/ui/dnd.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/js/ui/dnd.js b/js/ui/dnd.js index a0096a0b0..d769d1845 100644 --- a/js/ui/dnd.js +++ b/js/ui/dnd.js @@ -116,11 +116,6 @@ class _Draggable extends Signals.EventEmitter { _grabEvents(sprite) { const grab = Main.pushModal(_getEventHandlerActor()); - if ((grab.get_seat_state() & Clutter.GrabState.POINTER) === 0) { - Main.popModal(grab); - return; - } - this._grab = grab; this._sprite = sprite; } -- 2.39.5